home *** CD-ROM | disk | FTP | other *** search
- Path: news.itd.umich.edu!not-for-mail
- From: jlthomas@umd.umich.edu (Jeffrey L. Thomas)
- Newsgroups: comp.lang.c
- Subject: Re: GCC error: bad magic number
- Date: 25 Jan 1996 14:21:19 -0500
- Organization: Univerisity of Michigan - Dearborn
- Message-ID: <4e8l7f$9vh@null.umd.umich.edu>
- References: <4e4tef$q1j@ee.rutgers.edu>
- NNTP-Posting-Host: null.umd.umich.edu
- NNTP-Posting-User: jlthomas
- X-Newsreader: NN version 6.5.0 #3 (NOV)
-
- daksis@ee.rutgers.edu (Randall Thomas) writes:
- >hello all, i was wondering if anyone could help me with this error i'm getting
- >back from gcc... the error is : bad magic number
- >what does this refer to (usually) and what are some probable cauyses for this
-
-
- Your program file name needs to conform to certain standards. The answer
- is that you don't have a .c extention to you file name, .C (cap-c) will not
- work it must be a .c (lower case c). gcc uses the extentions of the files
- given it to determine how it will treat the file.
-
- This may seem silly, but because of it you really don't need to worry about
- tell gcc what kind of files you are sending it, it figures it out by itself
-
- Jeff
- --
- \|||/ _Spike_Man_ ____ | Jeffery L. Thomas | "The important thing is
- ^.^ The Internet's / \ | jlthomas@umich.edu | not to stop questioning.
- v first superhero \ SM / | "This time it will | Curiosity has it own
- "more than a cute .sig" \__/ | surely run" - anon | reason for existing."
-